<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/page.css">
	<style type="text/css">
		table.hovertable {
			font-family: verdana,arial,sans-serif;
			font-size:11px;
			color:#333333;
			border-width: 1px;
			border-color: #999999;
			border-collapse: collapse;
		}
		table.hovertable th {
			background-color:#c3dde0;
			border-width: 1px;
			padding: 8px;
			border-style: solid;
			border-color: #a9c6c9;
		}
		table.hovertable tr {
			background-color:#d4e3e5;
		}
		table.hovertable td {
			border-width: 1px;
			padding: 8px;
			border-style: solid;
			border-color: #a9c6c9;
		}
		td {min-width:150px;max-width: 250px;}
		input {min-width:80px;max-width: 200px;}

		.pagination a{
			text-decoration:none;
			padding: 5px;
		}
		.pagination span{
			padding: 5px;
		}

		


</style>
</head>

<body>

	<div style="display: inline-block;margin-left: 50px;margin-top:50px;">
		<table class="hovertable">
			<tr onmouseover="this.style.backgroundColor='#ffff66';" onmouseout="this.style.backgroundColor='#d4e3e5';">
				<td>商户名</td>
				<td>优惠名称</td>
				<td>优惠起始时间</td>
				<td>优惠结束时间</td>
				<td>优惠状态</td>
				<td>优惠操作</td>
			</tr>
			
			<foreach name="info" item="vo">
			<tr onmouseover="this.style.backgroundColor='#ffff66';" onmouseout="this.style.backgroundColor='#d4e3e5';">
				<td>{$shopname}</td>
				<td>{$vo.name}</td>
				<td>{$vo.beg_time}</td>
				<td>{$vo.end_time}</td>
				<td>{$vo.status}</td>
				<td><a href="__CONTROLLER__/editprefe/id/{$vo.id}">修改</a>|<a href="">终止</a></td>
			</tr>
			</foreach>
			
		
		
		</table>
		<div style="margin-top: 30px" class="pagination">{$page}</div>
	</div>
</body>
</html>


